package PAT;

import java.util.Scanner;

public class PAT1073 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String s = scanner.nextLine();
        String[] split = s.split("E");
        int b = Integer.parseInt(split[1]);
        String[] sp2 = split[0].split("\\.");
        int l = sp2[1].length();
        String replace = sp2[0].replace("+", "");
        if(b<0){
            System.out.print("0.");
            for (int i = 0; i < (-b - 1); i++) {
                System.out.print("0");
            }
            System.out.print(replace+sp2[1]);
        }else {
            if(l<=b){
                System.out.print(replace+sp2[1]);
                for (int i = 0; i < (b - l); i++) {
                    System.out.print("0");
                }
            }else{
                System.out.print(replace);
                System.out.print(sp2[1].substring(0,b));
                System.out.print(".");
                System.out.print(sp2[1].substring(b));
            }
        }
    }
}
